/**
 * kig entry point
 */

#include <iostream>
#include <fstream>

#include "Canvas.h"
#include "Scene.h"
#include "Eye.h"
#include "OutdoorArtist.h"

/**
 * Entry point for kig.
 * For now, generate a hard coded canvas.
 */
int main(int argc, char** argv)
{
	kig::CanvasPtr canvas(new kig::Canvas(640, 480));
	kig::ScenePtr scene(new kig::Scene());
	kig::Eye eye;
	kig::ArtistPtr artist(new kig::OutdoorArtist(eye));

	artist->draw(scene.get(), canvas.get());

	std::cerr << (artist.get()) << std::endl;
	std::cerr << (canvas.get()) << std::endl;
	std::ofstream out("hardcode.ppm");
	canvas->dumpToPPM(out);
	out.close();
	
	return 0;
}

